﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Atlandiz.Data;

namespace Atlandiz.EnvanterVeZimmetYonetimi
{
    public partial class PopupAciklamaEdit : DevExpress.XtraEditors.XtraForm
    {
        //MsSqlAccessLayer SQL = new MsSqlAccessLayer(".\\SQLExpress","TeknoEnva",true);

        //public int KG;

        public PopupAciklamaEdit()
        {
            InitializeComponent();
        }

        private void AciklamaEditPopup_Load(object sender, EventArgs e)
        {
            _txtAciklamaString.Text = Army.Aciklama;

            //Genel.EventConfirm = false;

        }

        private void _btnVazgec_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void _btnTamam_Click(object sender, EventArgs e)
        {
            Army.Aciklama = _txtAciklamaString.Text.ToString().Replace("'", "''");
            //Genel.EventConfirm = true;
            this.Close();
        }

       
    }
}